CHCP 65001

set VER=1.4.6
set APK=keybox-%VER%.apk
set LOCAL_DIR=F:\各个项目\密码管理器\apk\%VER%
set LOCAL_APK=%LOCAL_DIR%\%APK%

set REMOTE_DIR=/htdocs/keybox/res/apks
set FTP_CONF="ftp.cfg"

set HOST=byu6353360001.my3w.com
set USER_NAME=byu6353360001
set PASS=A1q2w3e4r

del /q %FTP_CONF%

echo open %HOST%>>%FTP_CONF%
echo %USER_NAME%>>%FTP_CONF%
echo %PASS%>>%FTP_CONF%
echo.>>%FTP_CONF%

echo cd %REMOTE_DIR%>>%FTP_CONF%
::mkdir test 在服务器建立目录
::echo mput %LOCAL_APK%  %REMOTE_DIR%
::send 比mput快
echo send %LOCAL_APK%>>%FTP_CONF%
echo send %LOCAL_APK%  keybox.apk>>%FTP_CONF%



::mget /test/*.*　下载目录下所有文件
::echo prompt>>%FTP_CONF%

echo.>>%FTP_CONF%
echo bye>>%FTP_CONF%
echo quit>>%FTP_CONF%

::ftp -s:%FTP_CONF%
::del /q %FTP_CONF%
